package game.adm.dao.factory;

import game.adm.dao.BetTypeDAO;
import game.adm.dao.impl.BetTypeDAOImpl;
import projectx.core.base.ProjectXSystemException;

public class BetTypeFactory {

	private static BetTypeFactory factory = new BetTypeFactory();

	public static void setFactory(BetTypeFactory factory) {
		BetTypeFactory.factory = factory;
	}

	public static BetTypeFactory getFactory() {
		return factory;
	}

	public BetTypeDAO getBetTypeDAO() throws ProjectXSystemException {
		return new BetTypeDAOImpl();
	}
}
